package io.chenglicun.modules.clc.service;

import io.chenglicun.common.service.CrudService;
import io.chenglicun.modules.clc.dto.ClcUserIdentityDTO;
import io.chenglicun.modules.clc.entity.ClcUserIdentityEntity;

import java.util.List;

/**
 * 用户身份关联表
 *
 * @author HB 137664951@qq.com
 * @since 1.0 2023-10-30
 */
public interface ClcUserIdentityService extends CrudService<ClcUserIdentityEntity, ClcUserIdentityDTO> {

    List<ClcUserIdentityDTO> getByUserIds(Long... userIds);

    void saveOrUpdate(Long userId, List<Long> identityIdList);

    void deleteByUserIds(Long[] userIds);
}